package com.xhwl.centiotdata.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xhwl.common.pojo.cent.iot.CampusUserStatistics;
import com.xhwl.common.pojo.ResultJson;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: JCccc
 * @Description:
 * @Date: 2021/04/27 10:12
 */
@RestController
public interface ICampusUserStatisticsService  extends IService<CampusUserStatistics> {

    @RequestMapping(value = "/campus-user-statistics", method = RequestMethod.POST)
    ResultJson getStatistics(@RequestPart(value = "campusUserStatistics", required = false) CampusUserStatistics campusUserStatistics);

    @RequestMapping(value = "/campus-user-receive-statistics", method = RequestMethod.POST)
    ResultJson receiveStatisticsData(@RequestPart(value = "campusUserStatistics", required = false) CampusUserStatistics campusUserStatistics);

}
